﻿using System;
using Detective.Helpers;
using Detective.Towns.Base;
using Detective.World;

namespace Detective.Towns
{
    public class Moskow:BaseTown
    {
        public Moskow()
            : base(new Time(DateTime.Now))
        {
        }

        public override string GetName(WordCase wordCase)
        {
            switch (wordCase)
            {
                case WordCase.Accusative:
                case WordCase.Genitive:
                    return "Москву";
                case WordCase.Dative:
                case WordCase.Prepositional:
                    return "Москве";
                case WordCase.Instrumental:
                    return "Москвой";
                case WordCase.Nominative:
                    return "Москва";
                default:
                    throw new NotSupportedException();
            }
        }
    }
}
